package cn.zymall.app.service;

import cn.zymall.common.model.HomeBillboards;
import com.baomidou.mybatisplus.extension.service.IService;
import com.github.pagehelper.PageInfo;

/**
 * @program: mall
 * @description: 广告业务层接口
 * @author: YueNiao
 * @email: 1486617253@qq.com
 * @create: 2020-08-20 11:32
 **/

public interface HomeBillboardsService extends IService<HomeBillboards> {
	/**
	 * 分页全部查询
	 * @param page
	 * @param rows
	 * @return
	 */
	PageInfo<HomeBillboards> findAll(int page, int rows);

	/**
	 * 模糊查询
	 * @param value
	 * @param page
	 * @param rows
	 * @return
	 */
	PageInfo<HomeBillboards> moFindAll(String value, int page, int rows);
}
